package com.chenglu.android.mine.collect.mvp.model;





import com.chenglu.android.bean.SmsCodeBean;
import com.chenglu.android.common.net.RetrofitClientCL;
import com.chenglu.android.mine.bean.AmountTypeBean;
import com.chenglu.android.mine.bean.CollectBean;
import com.chenglu.android.mine.bean.MoneyBean;
import com.chenglu.android.mine.collect.mvp.contract.CollectContract;

import java.util.Map;

import io.reactivex.rxjava3.core.Observable;
import okhttp3.RequestBody;

/**
 * @author: lyj
 * @Created by Copyright 2023/7/27 Guangzhou Hongma Technology Co., Ltd. All rights reserved.
 *
 */
public class CollectModel implements CollectContract.CollectModel {




    @Override
    public Observable<CollectBean> getGoodsCollect(String token, Map<String,String> map) {
        return RetrofitClientCL.getInstance().getApi().getGoodsCollect(token, map);
    }

    @Override
    public Observable<SmsCodeBean> getGoodsCollectRemove(String token, String goodsId) {
        return RetrofitClientCL.getInstance().getApi().getGoodsCollectRemove(token, goodsId);
    }

    @Override
    public Observable<SmsCodeBean> getShopsCollectRemove(String token, String tenantId) {
        return RetrofitClientCL.getInstance().getApi().getShopsCollectRemove(token, tenantId);
    }


}
